package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ManagerUnit;
import com.woniuxy.common.entity.ManagerUnitExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerUnitMapper {
    long countByExample(ManagerUnitExample example);

    int deleteByExample(ManagerUnitExample example);

    int deleteByPrimaryKey(String uniId);

    int insert(ManagerUnit record);

    int insertSelective(ManagerUnit record);

    List<ManagerUnit> selectByExample(ManagerUnitExample example);

    ManagerUnit selectByPrimaryKey(String uniId);

    int updateByExampleSelective(@Param("record") ManagerUnit record, @Param("example") ManagerUnitExample example);

    int updateByExample(@Param("record") ManagerUnit record, @Param("example") ManagerUnitExample example);

    int updateByPrimaryKeySelective(ManagerUnit record);

    int updateByPrimaryKey(ManagerUnit record);
}